<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="vue.js"></script>
</head>
<body>
	<div id="app">
		<div v-for="item in items">
			<span>{{item.title}}</span>
			<span @click=remove(item.title)>删除</span>
		</div>
	</div>
</body>

<script type="text/javascript">
	var options = {
		el : "#app",
		data : {
			items : [ {
				title : "item1"
			}, {
				title : "item2"
			} ]
		},
		methods : {
			remove : function(param) {
				alert(param);
			}
		}

	};
	var vue=new Vue(options);
</script>
</html>